package is1;

public class NewLineCommand implements Command
{	
	private String codigo;
	private int cantidad;
	
	public NewLineCommand(String cod, String cant)
	{
		codigo = cod;
		cantidad = Integer.parseInt(cant);
	}
	
	@Override
	public void execute(VentaEntrada v) 
	{
		v.addNewLine(codigo, cantidad);
	}
}
